//
//  LBSmallSimutaneousView.m
//  TEXT
//
//  Created by mac on 2024/6/28.
//  Copyright © 2024 刘博. All rights reserved.
//

#import "LBSmallSimutaneousView.h"

@interface LBSmallSimutaneousView () <UIGestureRecognizerDelegate>

@end

@implementation LBSmallSimutaneousView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(bigClick)];
        tap.numberOfTapsRequired = 1;
        self.backgroundColor = [UIColor cyanColor];
        [self addGestureRecognizer:tap];
        tap.delegate = self;
    }
    return self;
}

- (void)bigClick
{
    NSLog(@"点击最小的视图最小的视图");
}

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
    return NO;
}

@end
